; Set USB direction
.macro usbd
  out DDRB, @0
.endm

; Send USB sequence
.macro usbs
  out PORTB, @0
.endm

.macro usbs2
  out PORTB, @0
  out PORTB, @1
.endm

.macro usbs3
  out PORTB, @0
  out PORTB, @1
  out PORTB, @2
.endm

.macro usbs4
  out PORTB, @0
  out PORTB, @1
  out PORTB, @2
  out PORTB, @3
.endm

.macro usbs5
  out PORTB, @0
  out PORTB, @1
  out PORTB, @2
  out PORTB, @3
  out PORTB, @4
.endm

.macro usbs6
  out PORTB, @0
  out PORTB, @1
  out PORTB, @2
  out PORTB, @3
  out PORTB, @4
  out PORTB, @5
.endm

.macro usbs7
  out PORTB, @0
  out PORTB, @1
  out PORTB, @2
  out PORTB, @3
  out PORTB, @4
  out PORTB, @5
  out PORTB, @6
.endm

.macro usbs8
  out PORTB, @0
  out PORTB, @1
  out PORTB, @2
  out PORTB, @3
  out PORTB, @4
  out PORTB, @5
  out PORTB, @6
  out PORTB, @7
.endm

.macro usbs9
  out PORTB, @0
  out PORTB, @1
  out PORTB, @2
  out PORTB, @3
  out PORTB, @4
  out PORTB, @5
  out PORTB, @6
  out PORTB, @7
  out PORTB, @8
.endm

.macro usbs10
  out PORTB, @0
  out PORTB, @1
  out PORTB, @2
  out PORTB, @3
  out PORTB, @4
  out PORTB, @5
  out PORTB, @6
  out PORTB, @7
  out PORTB, @8
  out PORTB, @9
.endm
